<script type="text/javascript">
    "use strict";$(function(){var e=0,s=0;$(window).on("scroll",function(){e=$(this).scrollTop(),s<=e?$(".j-header").addClass("active"):$(".j-header").removeClass("active"),s=e})});
</script>